package com.ssww.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
/**
 * 活动
 * @author Administrator
 *
 */
@Entity
@Table(name = "activity")
public class Activity {
@ManyToOne(fetch=FetchType.LAZY) 
@JoinColumn(name="m_id",referencedColumnName="id") 

	private static final long serialVersionUID = 1L;

	@Id
	@Basic(optional = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", nullable = false)
	private Integer id;

	@Column(name = "hdType")
	private Integer hdType;

	@Column(name = "hdTypeName")
	private String hdTypeName;
	
	@Column(name = "hdDetail")
	private String hdDetail;
	
	@Column(name = "hdPicID")
	private Integer hdPicID;
	
	@Column(name = "hdBeginTime")
	private String hdBeginTime;

	@Column(name = "hdEndTime")
	private String hdEndTime;
	
	@Column(name = "hdTime")
	private String hdTime;

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getHdType() {
		return hdType;
	}
	public void setHdType(Integer hdType) {
		this.hdType = hdType;
	}
	public String getHdTypeName() {
		return hdTypeName;
	}
	public void setHdTypeName(String hdTypeName) {
		this.hdTypeName = hdTypeName;
	}
	public String getHdDetail() {
		return hdDetail;
	}
	public void setHdDetail(String hdDetail) {
		this.hdDetail = hdDetail;
	}
	public Integer getHdPicID() {
		return hdPicID;
	}
	public void setHdPicID(Integer hdPicID) {
		this.hdPicID = hdPicID;
	}
	public String getHdBeginTime() {
		return hdBeginTime;
	}
	public void setHdBeginTime(String hdBeginTime) {
		this.hdBeginTime = hdBeginTime;
	}
	public String getHdEndTime() {
		return hdEndTime;
	}
	public void setHdEndTime(String hdEndTime) {
		this.hdEndTime = hdEndTime;
	}
	public String getHdTime() {
		return hdTime;
	}
	public void setHdTime(String hdTime) {
		this.hdTime = hdTime;
	}
}
